package com.shsmi.entity;

import java.io.Serializable;

/**
 * Description: 坐标点
 * 
 * @author chrli
 * @date Created on 2020年12月31日
 */
public class CityPoint implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = 3584864663880053897L;

	/**
	 * x
	 */
	private double x;

	/**
	 * y
	 */
	private double y;

	public CityPoint() {
	}

	public CityPoint(double x, double y) {
		super();
		this.x = x;
		this.y = y;
	}

	public double getX() {
		return x;
	}

	public void setX(double x) {
		this.x = x;
	}

	public double getY() {
		return y;
	}

	public void setY(double y) {
		this.y = y;
	}

	@Override
	public String toString() {
		return x + "," + y;
	}

}
